class GenConstant
!!!201602.cpp!!!	~GenConstant()


!!!201730.cpp!!!	GenConstant(inout Type : IType)

!!!201858.cpp!!!	genConstant() : IExp

	IExp *ret = NULL;
	TypeVisitorHelper helper(m_Type);
	TypeVisitorHelper::TYPE_ENUM ltype = helper.getType();

	if( ltype == TypeVisitorHelper::BOOL_TYPE)
	{
		//Randomly choose true or false and create a BoolExp
		bool val = genBool();
		ret = new BoolExp(val);

	}else if( ltype == TypeVisitorHelper::INT_TYPE)
	{
		int val = genInt();
		ret = new IntExp(val);
	}else if ( ltype == TypeVisitorHelper::DOUBLE_TYPE)
	{
		double val = genDouble();
		ret = new DoubleExp(val);
	}


	return ret;
!!!201986.cpp!!!	genInt() : int

	return rand();
!!!202114.cpp!!!	genBool() : bool

	return (rand()%1 == 0 ? false : true );
!!!202242.cpp!!!	genDouble() : double


	// Generate a double...This might need to be a bit more sofisticated.
	double X=((double)rand());

	return X;
